package com.clms.system.pojo.entitry;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Component
@Api(value = "系统日志")
public class SysOperLog {
  @TableId(value = "oper_id",type = IdType.AUTO)
  @ApiModelProperty(value = "日志id")
  private long operId;
  @ApiModelProperty(value = "请求标题")
  private String title;
  @ApiModelProperty(value = "类型")
  private String businessType;
  @ApiModelProperty(value = "请求方式")
  private String method;
  @ApiModelProperty(value = "")
  private String operatorType;
  @ApiModelProperty(value = "操作人")
  private String operName;
  @ApiModelProperty(value = "")
  private String deptName;
  @ApiModelProperty(value = "url路径")
  private String operUrl;
  @ApiModelProperty(value = "操作人Ip")
  private String operIp;
  @ApiModelProperty(value = "内网外网")
  private String operLocation;
  @ApiModelProperty(value = "请求参数")
  private String operParam;
  private String status;
  private String errorMsg;
  @ApiModelProperty(value = "")
  private String operTime;




}
